.NET技術代言人 林耀珍
11
Windows service hosts processor
*Periodically check available threads, and allocate SA to the new Threads
*
lasyncProcessor.ExecuteServiceAgent(); //AsyncRohService
l   asyncSAMonitor.StartMonitor();
l   threadPool.StartExecution(); // Processor
l   while(true)
l      Thread.Sleep(reCheckTimeInterval);
l      if has more than min. free threads in pool
l         for each available thread
l            retrieve a service agent
l            Retrieve requests of this service agent and enqueue
l            threadPool.AddServiceAgent